#include "ax_filesystem.h"
#include "ax_printf.h"

static void test_create_directory()
{
    const char* path = "/tmp/test";
    bool ret = ax_directory_create(path, false);
    ax_debug("create directory %s %d\n",path, ret);
}

static void test_copy_directory()
{
    if(!ax_directory_copy("/tmp/bar","/tmp/foo"))
    {
        ax_error("copy error!\n");
    }
}

int main(int argc, char* argv[])
{
    test_create_directory();
    test_copy_directory();
    return 0;
}
